package org.nstack.header.network.service;

import org.nstack.header.core.Completion;
import org.nstack.header.core.NoErrorCompletion;
import org.nstack.header.vm.VmInstanceSpec;

import java.util.List;


public interface NetworkServiceSnatBackend {
    NetworkServiceProviderType getProviderType();

    void applySnatService(List<SnatStruct> snatStructList, VmInstanceSpec spec, Completion completion);

    void releaseSnatService(List<SnatStruct> snatStructsList, VmInstanceSpec spec, NoErrorCompletion completion);
}
